package com.lt.shiropro.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lt.shiropro.entity.Pers;
import com.lt.shiropro.service.PersService;
import com.lt.shiropro.mapper.PersMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Set;

/**
* @author root
* @description 针对表【t_pers】的数据库操作Service实现
* @createDate 2023-12-04 16:36:52
*/
@Service
public class PersServiceImpl extends ServiceImpl<PersMapper, Pers>
    implements PersService{

    @Resource
    private PersMapper persMapper;
    /**
     * 通过用户名查询权限集合
     * @param username 用户名
     * @return
     */
    @Override
    public Set<String> queryUserAuths(String username) {
        return persMapper.queryUserAuths(username);
    }
}




